package com.joysuch.wwyt.bp.bean.contractor;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import com.joysuch.wwyt.edu.bean.EduCertEditUserNameBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/7/9 9:48
 */
@Data
public class BpCertExpireRemindBean {

    private Long id;
    @Range(min = 0, max = 1)
    @ApiModelProperty("是否到期提醒 0 否 ; 1 是")
    @NotNull(message = "是否到期提醒不能为空")
    private Integer expireRemindOrNot;
    @ApiModelProperty("到期提醒类型")
    private String remindType;
    //    //提醒时间
//    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
//    private LocalTime remindTime;
    //提醒人和部门互斥
    //提醒人可以多个
    @ApiModelProperty("提醒人集合")
    private List<Long> remindUserIds;
    private List<EduCertEditUserNameBean> userNames;
    //提醒部门
    @ApiModelProperty("提醒部门")
    private Long departId;
    private EduCertEditUserNameBean departName;
    @ApiModelProperty("提醒对象类型,0 人员; 1 部门")
    private Integer userDepartFlag;
}
